﻿using housingsafety.server.Helpers;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace housingsafety.server.Models
{
    public class DateQuery
    {



        /// <summary>
        /// 行政区编码 为空全市，查乡街镇传6位(区代码)，查村传9位(乡街镇代码)，
        /// </summary>
        public string code { get; set; }

        /// <summary>
        /// 1自查 、2检查
        /// </summary>
        public string type { get; set; }


        /// <summary>
        /// 2市级 3区级 4街镇
        /// </summary>
        public int hctype { get; set; }=0;
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime startime { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime endtime { get; set; }
        /// <summary>
        /// 房屋编号
        /// </summary>
        public string fwbh { get; set; }

        /// <summary>
        /// 隐患类型
        /// </summary>
        public string yhlx { get; set; }

        /// <summary>
        /// 行政区代码
        /// </summary>
        public string xzqdm { get; set; }

        /// <summary>
        /// 街镇代码
        /// </summary>
        public string towndm { get; set; }

        /// <summary>
        /// 村代码
        /// </summary>
        public string villagedm { get; set; }

        public int Limit { get; set; } = 30;

        public int PageIndex { get; set; } = 1;
    }
}
